﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using MoFramework;

namespace Test
{
    public class TestTriggerEvent : MonoBehaviour
    {
        void Start()
        {
            FrameWorkMgr.mgr.eventMgr.RegistFunc<TestEventArg>(TestFunc);
            FrameWorkMgr.mgr.eventMgr.TrigEvent(new TestEventArg());
        }
        void TestFunc(BaseEventArg arg)
        {
            Debug.Log("This Is Test Func");
        }
    }
    class TestEventArg:BaseEventArg
    {

    }
}


